/**
 * @file
 * @auth jinguangguo
 * @date 2016/12/29
 */

import Vue from 'vue';
import tpl from './tpl.html';

import CONFIG from '../config';
import BuyList from './component/buyList.vue';
import SellList from './component/sellList.vue';

export default Vue.extend({
    name: 'myadvert',
    template: tpl,
    data(){
        return {
            CONFIG: CONFIG,
            status: CONFIG.TYPE_SELL.KEY,
        }
    },
    created() {

    },
    mounted(){

    },
    components: {
        BuyList,
        SellList
    },
    methods: {
        changeTab(_param){
            this.status = _param;
        }
    }
});
